NotificationX\Extensions\Extension D

Total Complexity 186
Dependencies 11
Dependents 1
Total lines 786
Lines of code 524
Logical lines of code 290
Comment lines 175
Methods 42
Properties 27

Methods 42

Method Rating Maintainability Complexity Lines of code
__res_themes_trigger()
C
40 28 56
__themes_trigger()
C
40 28 56
__notification_template()
A
45 14 42
__nx_res_themes()
A
50 12 27
__nx_themes()
A
52 9 24
is_active()
A
56 9 19
update_notification()
S
54 5 21
init()
S
58 5 15
update_notifications()
S
59 5 13
__source_trigger()
S
58 4 15
delete_notification()
S
61 4 14
get_link_type()
S
62 4 13
class_exists()
S
63 4 12
__init_fields()
S
54 3 20
initialize()
S
60 3 14
register_module()
S
60 3 13
__construct()
S
61 3 12
save()
S
61 3 12
get_templates()
S
66 3 9
public_actions()
S
66 3 8
get_themes()
S
63 3 10
get_res_themes()
S
63 3 10
__nx_sources()
S
60 2 12
notEmpty()
S
71 2 6
nx_instructions()
S
70 2 6
add_cron_job()
S
73 2 5
array_add_prefix()
S
67 2 8
__notification_template_dependency()
S
71 2 6
__link_types_dependency()
S
69 2 7
__init_extension()
S
71 2 6
get_themes_name()
S
80 1 3
wpml_actions()
S
91 1 2
admin_actions()
S
91 1 2
init_fields()
S
91 1 2
init_settings_fields()
S
91 1 2
init_extension()
S
98 1 1
name()
S
75 1 4
remote_get()
S
79 1 3
sort_data()
S
82 1 3
restResponse()
S
77 1 4
__is_pro_sources()
S
76 1 4
get_type()
S
80 1 3